package com.ph.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ph.pojo.KeepProject;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface KeepProjectMapper extends BaseMapper<KeepProject> {
    @Select("select uid from keep_project_user where pid = #{id}")
    List<Integer> findProjectUserIds(Integer id);

    List<KeepProject> findAll(Integer keepGroupId);
}
